<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <link href="css/mobiscroll.custom-3.0.0-beta6.min.css" rel="stylesheet" type="text/css" />
    <script src="../../item/js/jquery-1.12.4.min.js"></script>
    <script src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js" type="text/javascript"></script>
    <script src="js/mobiscroll.custom-3.0.0-beta6.min.js" type="text/javascript"></script>
</head>
<body>
<input type="text" id="demo">
<div style="text-align:center">
    <input type="text" placeholder="请选择"  id="dates2" value="">
</div>

<script>
    $('#demo').mobiscroll().calendar({
        theme: 'mobiscroll',
        lang: 'zh',
        display: 'center',
        controls: ['calendar'],
    });


    $('.mbsc-cal-week-h1').click(function(){
        console.log('dagjiut')
    })
</script>
</body>
</html>